﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace ZhongKeSite.Entity
{
    /// <summary>
    /// 系统日记
    /// </summary>
    [Table("SysLog")]
    public class SysLog
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        [MaxLength(50)]
        public string ID { get; set; }

        /// <summary>
        /// 日记类型
        /// </summary>
        [MaxLength(50)]
        public string LogType { get; set; }

        /// <summary>
        /// 请求报文
        /// </summary>
        public string Request { get; set; }

        /// <summary>
        /// 返回报文
        /// </summary>
        public string Response { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [MaxLength(200)]
        public string Remark { get; set; }

        /// <summary>
        /// 成功标识：Success,Fail,VerifySignFail,RequestFail
        /// </summary>
        [MaxLength(50)]
        public string SuccessFlag { get; set; }

        [MaxLength(50)]
        public string AddBy { get; set; }

        public Nullable<System.DateTime> AddDate { get; set; }
    }
}
